/*
 * @Description: 
 * @Author: changqing
 * @Date: 2021-08-30 16:27:05
 * @LastEditTime: 2021-08-30 16:28:21
 * @LastEditors: changqing
 * @Usage: 
 */


var { timer, interval,range } = require('rxjs'); 
var {skipLast,map} = require('rxjs/operators');
range(5).pipe(
  skipLast(3)
).subscribe(
  data => console.log(`${data}`)
);
//0, 1